.PHONY:all
all:server client

server:tcp_server.cc
	g++ -o server tcp_server.cc -std=c++11 -lpthread

client:tcp_client.cc
	g++ -o client $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf server client